package com.niiwoo.civet.mobile.vo.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;

@Setter
@Getter
@ApiModel
public class UserSMSBBSRequestVO {
    @NotBlank(message = "您的手机号不能为空")
    @Pattern(regexp = "^1[3456789][0-9]{9}$", message = "您的手机号输入错误")
    @ApiModelProperty(value = "登录名", notes = "手机号", required = true)
    private String Phone;
    @ApiModelProperty(value = "业务类型(1 注册 2 登录 3 重置登录密码 5 绑定第三方账号)", notes = "1 注册 2 登录 3 重置登录密码 5 绑定第三方账号")
    private Integer bizType;
}
